projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e5ecd3
)
(x_draw_glyph_string): Fall back on underline_minimum_offset for
author
Chong Yidong
<cyd@stupidchicken.com>
Wed, 3 Dec 2008 04:10:37 +0000
(
04:10
+0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Wed, 3 Dec 2008 04:10:37 +0000
(
04:10
+0000)
undlerline position.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 4d74910fec7fe21e61dbb45b69dc82eda8c802fe..54833eef366060b76b0f825acb5e2a1847cecee7 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-2765,6
+2765,8
@@
x_draw_glyph_string (s)
position = s->font->underline_position;
else if (s->font)
position = (s->font->descent + 1) / 2;
+ else
+ position = underline_minimum_offset;
}
position = max (position, underline_minimum_offset);
}